package com.hs.dao;

import com.hs.entity.Lesson;
import com.hs.entity.YxModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface YxModelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(YxModel record);

    int insertSelective(YxModel record);

    YxModel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(YxModel record);

    int updateByPrimaryKey(YxModel record);


    List<YxModel> selectByCondition(YxModel map);

    int selectByConditionCount(YxModel map);
}